<?php include("header.php"); ?>
<div class="one_center">
	<div class="box_two_third">
		<div class="login_form" style="text-align:left;">
			<form name="user_login" method="post" action=""  onsubmit="this.submit()">
				<div class="box_head"><?php echo 'Thông tin đăng nhập'; ?></div>
				<div class="box_content">
					<div class="right">
						<div style="padding-right : 10px;"><input type="text" style="width:180px;" id="login" name="login" value="<?php if(isset($login) && $login) {echo $login;} ?>" maxlength="255"/></div>
						<div style="padding-top:5px; padding-right: 10px;"><input type="password" style="width:180px;" id="pwd" name="pwd" value="" maxlength="<?php echo 'MAX_LENGTH_PASSWORD'; ?>"/></div>
					</div>
					<div style="padding-top: 5px; padding-left: 10px;"><?php echo 'Email'; ?>&nbsp;:&nbsp;<?php echo '*'; ?></div>

					<div style="padding-top: 15px; padding-left: 10px;">
						<?php echo 'Mật khẩu'; ?>&nbsp;:&nbsp;<?php echo '*'; ?>
					</div>

					<div style="text-align: right; padding-top: 10px; clear:right;">
						<a id="auto_login_login" class="tribullet" href="#" onclick="document.user_login.submit();"><?php echo 'Đăng nhập'; ?></a>
					</div>
				</div>
				<input id="auto_" type="hidden" name="return_link" value="<?php if(isset($return_link) && $return_link) {echo $return_link;} ?>"/>
				<input type="submit" style="width:0; height:0; border:0; background-color:inherit;overflow:hidden;"/>
			</form>
		</div>
	</div>
    <div style="text-align:center;color:#FF0000;">
		<?php if(isset($message_error)) { ?>
			<div class="spacer"></div>
			<?php if(is_array($message_error)) { ?>
				<?php foreach($message_error as $message) {?>
					<?php echo $message; ?><br />
				<?php } ?>
			<?php } else { ?>
				<span class="message_erreur"><?php echo $message_error; ?></span>
			<?php } ?>
		<?php } ?>
	</div>
</div>

<?php include("footer.php"); ?>